// 1 引入仓库的创建函数
import {createStore,applyMiddleware  } from "redux";
// 2 引入管理员
import reducer from "./reducer";

import thunk from "redux-thunk";

// 3 导出 
export default  createStore(reducer,applyMiddleware(thunk));